package com.czy.owner.entity;

import java.util.List;

/**
 * Created by Raven on 2018/1/11.
 */

public class SpecialGoodsModel {


    /**
     * totalRow : 2
     * pageNumber : 1
     * firstPage : true
     * lastPage : true
     * totalPage : 1
     * pageSize : 4
     * list : [{"soldCount":0,"unitName":"件","goodsId":4919,"price":0.15,"sort":1,"goodsName":"天天爱车袋鼠商品空起批1208","goodsLogo":"http://tticar-test.oss-cn-shanghai.aliyuncs.com/tticarweb/goods/2017/12/08/75e3b0bb-48e9-48ac-8460-6606dcb102cb.jpg","collect":0,"commentCount":0},{"soldCount":0,"unitName":"件","goodsId":4911,"price":100,"sort":999,"goodsName":"李测试2号小拉","goodsLogo":"http://118.178.188.69:80/res/download/18959","collect":0,"commentCount":0}]
     */

    private int totalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int totalPage;
    private int pageSize;
    private List<SpecialGoodsBean> list;

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<SpecialGoodsBean> getList() {
        return list;
    }

    public void setList(List<SpecialGoodsBean> list) {
        this.list = list;
    }

    public static class SpecialGoodsBean {
        /**
         * soldCount : 0
         * unitName : 件
         * goodsId : 4919
         * price : 0.15
         * sort : 1
         * goodsName : 天天爱车袋鼠商品空起批1208
         * goodsLogo : http://tticar-test.oss-cn-shanghai.aliyuncs.com/tticarweb/goods/2017/12/08/75e3b0bb-48e9-48ac-8460-6606dcb102cb.jpg
         * collect : 0
         * commentCount : 0
         */

        private int soldCount;
        private String unitName;
        private int goodsId;
        private double price;
        private int sort;
        private String goodsName;
        private String goodsLogo;
        private int collect;
        private int commentCount;

        public int getSoldCount() {
            return soldCount;
        }

        public void setSoldCount(int soldCount) {
            this.soldCount = soldCount;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsLogo() {
            return goodsLogo;
        }

        public void setGoodsLogo(String goodsLogo) {
            this.goodsLogo = goodsLogo;
        }

        public int getCollect() {
            return collect;
        }

        public void setCollect(int collect) {
            this.collect = collect;
        }

        public int getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }
    }
}
